#ifndef _server_h_
#define _server_h_

#include "global.h"

class server
{
private:
    int server_sockfd;
    int server_port;
    string server_ip;
    static vector<bool> sock_addr;
public:
    server(int port,string ip);
    ~server();
    void run();
    static void RecvMsg(int conn);
    static void HandleRequest(int conn,string str);
};

#endif